created if the domain creation actually succeeded). Use total_memory not
free_memory to determine how big to make the domain -- when ballooning down of
dom0 works properly, creating a domain larger than free_memory is possible.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
try:
domain1.start()
+ eyecatcher1 = "Created"
except DomainError, e:
eyecatcher1 = "Fail"
# Test 2: create a domain with mem>sys_mem
-mem = int(getInfo("free_memory"))
+mem = int(getInfo("total_memory"))
extreme_mem = str(mem + 100)
opts2= {
try:
domain2.start()
+ eyecatcher2 = "Created"
except DomainError, e:
eyecatcher2 = "Fail"